package com.af.system.api.list;

/**
 * @author : zhenyun.su
 * @comment : 供应商Api接口信息
 * @since : 2020/6/23
 */

public class AfApi {
    private String title;
    private String code;
    private String type;
    private String contextPath;
    private String requestParam;

    public AfApi(String title, String code, String type, String contextPath, String requestParam) {
        this.title = title;
        this.code = code;
        this.contextPath = contextPath;
        this.requestParam = requestParam;
        this.type = type;
    }

    public static AfApi of(String title, String code,String type, String contextPath, String requestParam) {
        return new AfApi(title, code, type, contextPath, requestParam);
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContextPath() {
        return contextPath;
    }

    public void setContextPath(String contextPath) {
        this.contextPath = contextPath;
    }

    public String getRequestParam() {
        return requestParam;
    }

    public void setRequestParam(String requestParam) {
        this.requestParam = requestParam;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
